The Proxy Inter-Type Declaration
نویسنده
چکیده
Aspect-oriented programming [16] with its support for modularizing crosscutting concerns opens up the vision that component middleware can be replaced by sets of collaborating aspects that implement the infrastructural services. In this way, application servers could be customized on a perproject basis, as they are no longer monolithic applications. In order for this vision to become reality it should be possible to implement services offered by current containers as aspects. In particular services targeting scalability and performance issues, such as passivation and instance pooling must be available. Such services build upon the concept of virtual instances [25]. They are realized in the current application servers by means of the (virtual) proxy pattern [11]. Implementing virtual instances represents a crosscutting concern, as we will discuss in the paper. Unfortunately, no current AOP language or framework has explicit support for modularizing this concern. We propose to support the generation of proxies as an inter-type declaration and argue that it is essential to allow the development of scalable and efficient component containers. It would be a significant improvement when compared with the current offered possibilities.
منابع مشابه
Java Native Interface idioms for C++ class hierarchies
SUMMARY The Java™ Native Interface (JNI) provides a set of mechanisms for implementing Java methods in C or C++. JNI is useful for reusing C and C++ code repositories within Java frameworks. JNI is also useful for real-time systems, where compiled C/C++ code executes performance-critical tasks, while Java code executes system control and feature tasks. Available JNI literature concentrates on c...
متن کاملTowards Efficient Virtual Machine Support for Flexible, Dynamic Deployment of Inter-type Declarations
Dynamic deployment is an important feature of an aspect-oriented language design that has many software engineering benefits, e.g. in runtime monitoring, runtime adaptation to fix bugs or add features to long running applications, runtime update of dynamic policy changes, etc. Many recently proposed language designs support these use cases. In previous work, researchers have demonstrated that t...
متن کاملبهینهسازی اجرا و پاسخ صفحات وب در فضای ابری با روشهای پیشپردازش، مطالعه موردی سامانههای وارنیش و انجینکس
The response speed of Web pages is one of the necessities of information technology. In recent years, renowned companies such as Google and computer scientists focused on speeding up the web. Achievements such as Google Pagespeed, Nginx and varnish are the result of these researches. In Customer to Customer(C2C) business systems, such as chat systems, and in Business to Customer(B2C) systems, s...
متن کاملThe Legacy Bridge Problem
We present a way to automate the reuse of legacy systems without multiple-inheritance, copying source code, accessing existing code or modifying the Java language. Our technique involves the automatic synthesis of bridge pattern code. The mechanism automatically generates bridge implementations and bridge interfaces that perform message forwarding and multiple inheritance of types. These elemen...
متن کاملInter-domain Identity-Based Proxy Re-encryption
Proxy re-encryption is a cryptographic primitive developed to delegate the decryption right from one party (the delegator) to another (the delegatee). So far, research efforts have only been devoted to the intra-domain setting, where the delegator and the delegatee are registered in the same domain. In this paper, we investigate the proxy re-encryption in the inter-domain setting, where the del...
متن کامل